#set( $symbol_pound = '#' )
#set( $symbol_dollar = '$' )
#set( $symbol_escape = '\' )
package ${package}.api.common.enums;

/**
 * 回调状态枚举
 *
 * @author weidong.lin
 * @date 2021/7/7 18:16
 */
public enum StatusEnum {
    /**
     * 发送成功
     */
    SUCCESS("发送成功",1),
    /**
     * 发送失败
     */
    FAIL("发送失败",2);
    /**
     * 描述
     */
    private String name;
    /**
     * 标识
     */
    private Integer code;

    StatusEnum(String name, Integer code) {
        this.name = name;
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public Integer getCode() {
        return code;
    }
}
